//
//  ScrollView.h
//  scrollecView
//
//  Created by qianfeng on 15/9/29.
//  Copyright (c) 2015年 胡志军. All rights reserved.
//

#import <UIKit/UIKit.h>



@protocol scrollImageDidDelegate <NSObject>

- (void)scrollImageDidDelegate:(NSInteger)count;

@end
@interface ScrollView : UIView

//本地图片数组
@property (nonatomic, strong) NSArray * imageArray;

//网上图片数组（网址）
@property (nonatomic, strong) NSMutableArray * imageUrlArray;
//网上图片没下载之前显示的默认图片
@property (nonatomic, copy) NSString * placeHolderImage;

//是否启用计时器
@property (nonatomic, assign) BOOL isTireming;
//设置是否显示pageColltroll
@property (nonatomic, assign) BOOL isPageControling;

@property (nonatomic, assign) float alhap;

//显示当前page 的颜色
@property (nonatomic,strong) UIColor * currentPageTinColor;
//设置page 的背景颜色
@property (nonatomic, strong) UIColor * pageTinColor;


@property (nonatomic, weak) id<scrollImageDidDelegate> delegate;

//刷新数据
- (void)reloadData;
@end
